﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Jzy.Web.DocManager.Dir.Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 80px;
            text-align: right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div style="height:180px;">
    <table style="width: 100%">
        <tr>
            <td class="style1">
                <asp:Label ID="Label10" runat="server" Text="上级目录："></asp:Label>
            </td>
            <td>
                &nbsp;<asp:Label ID="lblUpperName" runat="server" Font-Bold="True" Text="Label"></asp:Label>
                <asp:HiddenField ID="hidUpperID" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label1" runat="server" Text="目录名称："></asp:Label>
            </td>
            <td>
                &nbsp;<asp:TextBox ID="txtName" runat="server" Width="130px" CssClass="txt"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                    Display="None" ErrorMessage="请输入目录名"></asp:RequiredFieldValidator>
                目录类别：&nbsp;<asp:DropDownList ID="TypeID" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                目录编号：
            </td>
            <td>
                &nbsp;<asp:TextBox ID="Code" CssClass="txt" runat="server" Width="130px"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入编号" ControlToValidate="Code"
                    Display="None"></asp:RequiredFieldValidator>
                <asp:Label ID="Label2" runat="server" Text="排　　序："></asp:Label>
                <asp:TextBox ID="txtOrders" runat="server" Width="60px" CssClass="txt"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOrders"
                    Display="None" ErrorMessage="数字格式不对" SetFocusOnError="True" ValidationExpression="-?\d*"></asp:RegularExpressionValidator>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                    ShowSummary="False" />
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label3" runat="server" Text="备注说明："></asp:Label>
            </td>
            <td>
                &nbsp;<asp:TextBox ID="txtRemark" runat="server" Width="250px" CssClass="txt" 
                    Height="60px" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
    </table>
 </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
</asp:Content>

